home *** CD-ROM | disk | FTP | other *** search
/ Suzy B Software 2 / Suzy B Software CD-ROM 2 (1994).iso / extras / programm / gemfsc20 / gemfsc20.lzh / GEMFBIND / VQMATTR.S < prev    next >
Text File  |  1993-03-26  |  1KB  |  43 lines

  1. ;*========================================================================
  2. ;* VDIFAST Public Domain VDI bindings.
  3. ;*========================================================================
  4.  
  5.  
  6. ;*------------------------------------------------------------------------
  7. ;* Inquire polymarker attributes.
  8. ;*------------------------------------------------------------------------
  9.  
  10.           globl     _vqm_attributes
  11. _vqm_attributes:
  12. ;    .cargs    #8,handle.w,attrib.l
  13.  
  14. handle      =         8
  15. attrib      =         10
  16.  
  17.           link        a6,#-10
  18.  
  19. ;          VContrl    #36
  20.           move.w    handle(a6),-(sp)    ; contrl[6]
  21.           clr.l     -(sp)                ; contrl[5,4]
  22.           clr.l     -(sp)                ; contrl[3,2]
  23.           clr.w     -(sp)                ; contrl[1]
  24.           move.w    #36,-(sp)            ; contrl[0]
  25.  
  26.           pea        -10(a6)             ;* -> ptsout
  27.           pea        -6(a6)                ;* -> intout
  28.           subq.l    #8,sp                ;* -> ptsin, intin
  29.           pea        16(sp)                ;* -> contrl
  30.  
  31.           move.l    sp,d1
  32.           jsr        vditrap
  33.  
  34.           move.l    attrib(a6),a0        ;* Return values in attrib array...
  35.           move.l    -6(a6),(a0)+        ;* attr[0]=intout[0],attr[1]=intout[1]
  36.           move.w    -2(a6),(a0)+        ;* attr[2]=intout[2]
  37.           move.w    -8(a6),(a0)         ;* attr[3]=ptsout[1]
  38.  
  39.           unlk        a6
  40.           rts
  41.  
  42.           end
  43.